home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / db_handles < prev    next >
Text File  |  2001-06-18  |  819b  |  23 lines

  1. OPTIONAL
  2. SYNOPSIS
  3.         int *db_handles()
  4.  
  5. DESCRIPTION
  6.         Returns an array with all open handles to the SQL-server.
  7.         As mySQL is most of the time limited to 100 connections, you
  8.         should not let this number grow too big. The handles are sorted
  9.         in a special order: The last used handle is the first one and
  10.         the handle that hasn't been used for the longest time is
  11.         the last one. If no handles are open, an empty array is returned.
  12.  
  13.         The function is available only if the driver is compiled with
  14.         mySQL support. In that case, __MYSQL__ is defined.
  15.  
  16. HISTORY
  17.         Added in 3.2.9 .
  18.  
  19. SEE ALSO
  20.         db_affected_rows(E), db_conv_string(E), db_close(E), db_coldefs(E), 
  21.         db_connect(E), db_error(E), db_exec(E), db_fetch(E), db_insert_id(E),
  22.         mysql(C)
  23.